package main

import (
	_ "datum_user/dao"
	_ "datum_user/grpc"
	"datum_user/routers"
)

func main() {
	//初始化路由
	r := routers.Init()
	//运行
	//webService := web.NewService(
	//	web.Name("datum_user"),
	//	web.Address(":8080"),
	//	web.Handler(r),
	//)
	//_ = webService.Run()
	_ = r.Run() // listen and serve on 0.0.0.0:8080
}
